import request from '../../utils/request'

// 首页banner
const  getHomeBanner = ()=>{
    return request.post('/banner?type=2')
}

// 首页圆形入口列表

const getHomeBallList = ()=>{
    return request.get('/homepage/dragon/ball')
}

// 获取推荐歌单

const getRecommendList = ()=>{
    return request.get('/personalized?limit=6')
}

// 获取精选视频

const getRecommendVedio = ()=>{
    return request.get('/mv/exclusive/rcmd?limit=6')
}

// 获取推荐MV

const getRecommendMv = ()=>{
    return request.get('/mv/first?limit=6')
}

const defultSearch = ()=>{
    return request.get('/search/default')
}
export{
    getHomeBanner,
    getHomeBallList,
    getRecommendList,
    getRecommendVedio,
    getRecommendMv,
    defultSearch

}